3.449 \(\int \frac{\sqrt{a+b x^3} (c+d x+e x^2+f x^3+g x^4)}{x} \, dx\)

Optimal. Leaf size=620 \[ \frac{2\ 3^{3/4} \sqrt{2+\sqrt{3}} a \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \left (-55 \left (1-\sqrt{3}\right ) \sqrt [3]{a} b^{2/3} e-14 a g+77 b d\right ) \text{EllipticF}\left (\sin ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right ),-7-4 \sqrt{3}\right )}{385 b^{4/3} \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}-\frac{3 \sqrt [4]{3} \sqrt{2-\sqrt{3}} a^{4/3} e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac{\sqrt [3]{b} x+\left (1-\sqrt{3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt{3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt{3}\right )}{7 b^{2/3} \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}+\frac{6 a e \sqrt{a+b x^3}}{7 b^{2/3} \left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}+\frac{2 \sqrt{a+b x^3} \left (1155 c x+693 d x^2+495 e x^3+385 f x^4+315 g x^5\right )}{3465 x}-\frac{2}{3} \sqrt{a} c \tanh ^{-1}\left (\frac{\sqrt{a+b x^3}}{\sqrt{a}}\right )+\frac{2 a f \sqrt{a+b x^3}}{9 b}+\frac{6 a g x \sqrt{a+b x^3}}{55 b} \]

[Out]

(2*a*f*Sqrt[a + b*x^3])/(9*b) + (6*a*g*x*Sqrt[a + b*x^3])/(55*b) + (6*a*e*Sqrt[a + b*x^3])/(7*b^(2/3)*((1 + Sq
rt[3])*a^(1/3) + b^(1/3)*x)) + (2*Sqrt[a + b*x^3]*(1155*c*x + 693*d*x^2 + 495*e*x^3 + 385*f*x^4 + 315*g*x^5))/
(3465*x) - (2*Sqrt[a]*c*ArcTanh[Sqrt[a + b*x^3]/Sqrt[a]])/3 - (3*3^(1/4)*Sqrt[2 - Sqrt[3]]*a^(4/3)*e*(a^(1/3)
+ b^(1/3)*x)*Sqrt[(a^(2/3) - a^(1/3)*b^(1/3)*x + b^(2/3)*x^2)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*EllipticE
[ArcSin[((1 - Sqrt[3])*a^(1/3) + b^(1/3)*x)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)], -7 - 4*Sqrt[3]])/(7*b^(2/3)*
Sqrt[(a^(1/3)*(a^(1/3) + b^(1/3)*x))/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*Sqrt[a + b*x^3]) + (2*3^(3/4)*Sqrt
[2 + Sqrt[3]]*a*(77*b*d - 55*(1 - Sqrt[3])*a^(1/3)*b^(2/3)*e - 14*a*g)*(a^(1/3) + b^(1/3)*x)*Sqrt[(a^(2/3) - a
^(1/3)*b^(1/3)*x + b^(2/3)*x^2)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*EllipticF[ArcSin[((1 - Sqrt[3])*a^(1/3)
 + b^(1/3)*x)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)], -7 - 4*Sqrt[3]])/(385*b^(4/3)*Sqrt[(a^(1/3)*(a^(1/3) + b^(
1/3)*x))/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*Sqrt[a + b*x^3])

________________________________________________________________________________________

Rubi [A]  time = 0.547109, antiderivative size = 620, normalized size of antiderivative = 1., number of steps used = 11, number of rules used = 11, integrand size = 35, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.314, Rules used = {1826, 1832, 266, 63, 208, 1888, 1886, 261, 1878, 218, 1877} \[ \frac{2\ 3^{3/4} \sqrt{2+\sqrt{3}} a \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \left (-55 \left (1-\sqrt{3}\right ) \sqrt [3]{a} b^{2/3} e-14 a g+77 b d\right ) F\left (\sin ^{-1}\left (\frac{\sqrt [3]{b} x+\left (1-\sqrt{3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt{3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt{3}\right )}{385 b^{4/3} \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}-\frac{3 \sqrt [4]{3} \sqrt{2-\sqrt{3}} a^{4/3} e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac{\sqrt [3]{b} x+\left (1-\sqrt{3}\right ) \sqrt [3]{a}}{\sqrt [3]{b} x+\left (1+\sqrt{3}\right ) \sqrt [3]{a}}\right )|-7-4 \sqrt{3}\right )}{7 b^{2/3} \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}+\frac{6 a e \sqrt{a+b x^3}}{7 b^{2/3} \left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}+\frac{2 \sqrt{a+b x^3} \left (1155 c x+693 d x^2+495 e x^3+385 f x^4+315 g x^5\right )}{3465 x}-\frac{2}{3} \sqrt{a} c \tanh ^{-1}\left (\frac{\sqrt{a+b x^3}}{\sqrt{a}}\right )+\frac{2 a f \sqrt{a+b x^3}}{9 b}+\frac{6 a g x \sqrt{a+b x^3}}{55 b} \]

Antiderivative was successfully verified.

[In]

Int[(Sqrt[a + b*x^3]*(c + d*x + e*x^2 + f*x^3 + g*x^4))/x,x]

[Out]

(2*a*f*Sqrt[a + b*x^3])/(9*b) + (6*a*g*x*Sqrt[a + b*x^3])/(55*b) + (6*a*e*Sqrt[a + b*x^3])/(7*b^(2/3)*((1 + Sq
rt[3])*a^(1/3) + b^(1/3)*x)) + (2*Sqrt[a + b*x^3]*(1155*c*x + 693*d*x^2 + 495*e*x^3 + 385*f*x^4 + 315*g*x^5))/
(3465*x) - (2*Sqrt[a]*c*ArcTanh[Sqrt[a + b*x^3]/Sqrt[a]])/3 - (3*3^(1/4)*Sqrt[2 - Sqrt[3]]*a^(4/3)*e*(a^(1/3)
+ b^(1/3)*x)*Sqrt[(a^(2/3) - a^(1/3)*b^(1/3)*x + b^(2/3)*x^2)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*EllipticE
[ArcSin[((1 - Sqrt[3])*a^(1/3) + b^(1/3)*x)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)], -7 - 4*Sqrt[3]])/(7*b^(2/3)*
Sqrt[(a^(1/3)*(a^(1/3) + b^(1/3)*x))/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*Sqrt[a + b*x^3]) + (2*3^(3/4)*Sqrt
[2 + Sqrt[3]]*a*(77*b*d - 55*(1 - Sqrt[3])*a^(1/3)*b^(2/3)*e - 14*a*g)*(a^(1/3) + b^(1/3)*x)*Sqrt[(a^(2/3) - a
^(1/3)*b^(1/3)*x + b^(2/3)*x^2)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*EllipticF[ArcSin[((1 - Sqrt[3])*a^(1/3)
 + b^(1/3)*x)/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)], -7 - 4*Sqrt[3]])/(385*b^(4/3)*Sqrt[(a^(1/3)*(a^(1/3) + b^(
1/3)*x))/((1 + Sqrt[3])*a^(1/3) + b^(1/3)*x)^2]*Sqrt[a + b*x^3])

Rule 1826

Int[(Pq_)*((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_.))^(p_), x_Symbol] :> Module[{q = Expon[Pq, x], i}, Simp[(
c*x)^m*(a + b*x^n)^p*Sum[(Coeff[Pq, x, i]*x^(i + 1))/(m + n*p + i + 1), {i, 0, q}], x] + Dist[a*n*p, Int[(c*x)
^m*(a + b*x^n)^(p - 1)*Sum[(Coeff[Pq, x, i]*x^i)/(m + n*p + i + 1), {i, 0, q}], x], x]] /; FreeQ[{a, b, c, m},
 x] && PolyQ[Pq, x] && IGtQ[(n - 1)/2, 0] && GtQ[p, 0]

Rule 1832

Int[(Pq_)/((x_)*Sqrt[(a_) + (b_.)*(x_)^(n_)]), x_Symbol] :> Dist[Coeff[Pq, x, 0], Int[1/(x*Sqrt[a + b*x^n]), x
], x] + Int[ExpandToSum[(Pq - Coeff[Pq, x, 0])/x, x]/Sqrt[a + b*x^n], x] /; FreeQ[{a, b}, x] && PolyQ[Pq, x] &
& IGtQ[n, 0] && NeQ[Coeff[Pq, x, 0], 0]

Rule 266

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rule 63

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[{p = Denominator[m]}, Dist[p/b, Sub
st[Int[x^(p*(m + 1) - 1)*(c - (a*d)/b + (d*x^p)/b)^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] &
& NeQ[b*c - a*d, 0] && LtQ[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntLinearQ[a,
b, c, d, m, n, x]

Rule 208

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-(a/b), 2]*ArcTanh[x/Rt[-(a/b), 2]])/a, x] /; FreeQ[{a,
b}, x] && NegQ[a/b]

Rule 1888

Int[(Pq_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{q = Expon[Pq, x]}, With[{Pqq = Coeff[Pq, x, q]}, D
ist[1/(b*(q + n*p + 1)), Int[ExpandToSum[b*(q + n*p + 1)*(Pq - Pqq*x^q) - a*Pqq*(q - n + 1)*x^(q - n), x]*(a +
 b*x^n)^p, x], x] + Simp[(Pqq*x^(q - n + 1)*(a + b*x^n)^(p + 1))/(b*(q + n*p + 1)), x]] /; NeQ[q + n*p + 1, 0]
 && q - n >= 0 && (IntegerQ[2*p] || IntegerQ[p + (q + 1)/(2*n)])] /; FreeQ[{a, b, p}, x] && PolyQ[Pq, x] && IG
tQ[n, 0]

Rule 1886

Int[(Pq_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[Coeff[Pq, x, n - 1], Int[x^(n - 1)*(a + b*x^n)^p, x
], x] + Int[ExpandToSum[Pq - Coeff[Pq, x, n - 1]*x^(n - 1), x]*(a + b*x^n)^p, x] /; FreeQ[{a, b, p}, x] && Pol
yQ[Pq, x] && IGtQ[n, 0] && Expon[Pq, x] == n - 1

Rule 261

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(a + b*x^n)^(p + 1)/(b*n*(p + 1)), x] /; FreeQ
[{a, b, m, n, p}, x] && EqQ[m, n - 1] && NeQ[p, -1]

Rule 1878

Int[((c_) + (d_.)*(x_))/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], s = Denom[Rt[b/a,
 3]]}, Dist[(c*r - (1 - Sqrt[3])*d*s)/r, Int[1/Sqrt[a + b*x^3], x], x] + Dist[d/r, Int[((1 - Sqrt[3])*s + r*x)
/Sqrt[a + b*x^3], x], x]] /; FreeQ[{a, b, c, d}, x] && PosQ[a] && NeQ[b*c^3 - 2*(5 - 3*Sqrt[3])*a*d^3, 0]

Rule 218

Int[1/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Rt[b/a, 3]], s = Denom[Rt[b/a, 3]]}, Simp[(2*Sqr
t[2 + Sqrt[3]]*(s + r*x)*Sqrt[(s^2 - r*s*x + r^2*x^2)/((1 + Sqrt[3])*s + r*x)^2]*EllipticF[ArcSin[((1 - Sqrt[3
])*s + r*x)/((1 + Sqrt[3])*s + r*x)], -7 - 4*Sqrt[3]])/(3^(1/4)*r*Sqrt[a + b*x^3]*Sqrt[(s*(s + r*x))/((1 + Sqr
t[3])*s + r*x)^2]), x]] /; FreeQ[{a, b}, x] && PosQ[a]

Rule 1877

Int[((c_) + (d_.)*(x_))/Sqrt[(a_) + (b_.)*(x_)^3], x_Symbol] :> With[{r = Numer[Simplify[((1 - Sqrt[3])*d)/c]]
, s = Denom[Simplify[((1 - Sqrt[3])*d)/c]]}, Simp[(2*d*s^3*Sqrt[a + b*x^3])/(a*r^2*((1 + Sqrt[3])*s + r*x)), x
] - Simp[(3^(1/4)*Sqrt[2 - Sqrt[3]]*d*s*(s + r*x)*Sqrt[(s^2 - r*s*x + r^2*x^2)/((1 + Sqrt[3])*s + r*x)^2]*Elli
pticE[ArcSin[((1 - Sqrt[3])*s + r*x)/((1 + Sqrt[3])*s + r*x)], -7 - 4*Sqrt[3]])/(r^2*Sqrt[a + b*x^3]*Sqrt[(s*(
s + r*x))/((1 + Sqrt[3])*s + r*x)^2]), x]] /; FreeQ[{a, b, c, d}, x] && PosQ[a] && EqQ[b*c^3 - 2*(5 - 3*Sqrt[3
])*a*d^3, 0]

Rubi steps

\begin{align*} \int \frac{\sqrt{a+b x^3} \left (c+d x+e x^2+f x^3+g x^4\right )}{x} \, dx &=\frac{2 \sqrt{a+b x^3} \left (1155 c x+693 d x^2+495 e x^3+385 f x^4+315 g x^5\right )}{3465 x}+\frac{1}{2} (3 a) \int \frac{\frac{2 c}{3}+\frac{2 d x}{5}+\frac{2 e x^2}{7}+\frac{2 f x^3}{9}+\frac{2 g x^4}{11}}{x \sqrt{a+b x^3}} \, dx\\ &=\frac{2 \sqrt{a+b x^3} \left (1155 c x+693 d x^2+495 e x^3+385 f x^4+315 g x^5\right )}{3465 x}+\frac{1}{2} (3 a) \int \frac{\frac{2 d}{5}+\frac{2 e x}{7}+\frac{2 f x^2}{9}+\frac{2 g x^3}{11}}{\sqrt{a+b x^3}} \, dx+(a c) \int \frac{1}{x \sqrt{a+b x^3}} \, dx\\ &=\frac{6 a g x \sqrt{a+b x^3}}{55 b}+\frac{2 \sqrt{a+b x^3} \left (1155 c x+693 d x^2+495 e x^3+385 f x^4+315 g x^5\right )}{3465 x}+\frac{(3 a) \int \frac{\frac{1}{11} (11 b d-2 a g)+\frac{5 b e x}{7}+\frac{5}{9} b f x^2}{\sqrt{a+b x^3}} \, dx}{5 b}+\frac{1}{3} (a c) \operatorname{Subst}\left (\int \frac{1}{x \sqrt{a+b x}} \, dx,x,x^3\right )\\ &=\frac{6 a g x \sqrt{a+b x^3}}{55 b}+\frac{2 \sqrt{a+b x^3} \left (1155 c x+693 d x^2+495 e x^3+385 f x^4+315 g x^5\right )}{3465 x}+\frac{(3 a) \int \frac{\frac{1}{11} (11 b d-2 a g)+\frac{5 b e x}{7}}{\sqrt{a+b x^3}} \, dx}{5 b}+\frac{(2 a c) \operatorname{Subst}\left (\int \frac{1}{-\frac{a}{b}+\frac{x^2}{b}} \, dx,x,\sqrt{a+b x^3}\right )}{3 b}+\frac{1}{3} (a f) \int \frac{x^2}{\sqrt{a+b x^3}} \, dx\\ &=\frac{2 a f \sqrt{a+b x^3}}{9 b}+\frac{6 a g x \sqrt{a+b x^3}}{55 b}+\frac{2 \sqrt{a+b x^3} \left (1155 c x+693 d x^2+495 e x^3+385 f x^4+315 g x^5\right )}{3465 x}-\frac{2}{3} \sqrt{a} c \tanh ^{-1}\left (\frac{\sqrt{a+b x^3}}{\sqrt{a}}\right )+\frac{(3 a e) \int \frac{\left (1-\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\sqrt{a+b x^3}} \, dx}{7 \sqrt [3]{b}}+\frac{\left (3 a \left (77 b d-55 \left (1-\sqrt{3}\right ) \sqrt [3]{a} b^{2/3} e-14 a g\right )\right ) \int \frac{1}{\sqrt{a+b x^3}} \, dx}{385 b}\\ &=\frac{2 a f \sqrt{a+b x^3}}{9 b}+\frac{6 a g x \sqrt{a+b x^3}}{55 b}+\frac{6 a e \sqrt{a+b x^3}}{7 b^{2/3} \left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )}+\frac{2 \sqrt{a+b x^3} \left (1155 c x+693 d x^2+495 e x^3+385 f x^4+315 g x^5\right )}{3465 x}-\frac{2}{3} \sqrt{a} c \tanh ^{-1}\left (\frac{\sqrt{a+b x^3}}{\sqrt{a}}\right )-\frac{3 \sqrt [4]{3} \sqrt{2-\sqrt{3}} a^{4/3} e \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} E\left (\sin ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt{3}\right )}{7 b^{2/3} \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}+\frac{2\ 3^{3/4} \sqrt{2+\sqrt{3}} a \left (77 b d-55 \left (1-\sqrt{3}\right ) \sqrt [3]{a} b^{2/3} e-14 a g\right ) \left (\sqrt [3]{a}+\sqrt [3]{b} x\right ) \sqrt{\frac{a^{2/3}-\sqrt [3]{a} \sqrt [3]{b} x+b^{2/3} x^2}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} F\left (\sin ^{-1}\left (\frac{\left (1-\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}{\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x}\right )|-7-4 \sqrt{3}\right )}{385 b^{4/3} \sqrt{\frac{\sqrt [3]{a} \left (\sqrt [3]{a}+\sqrt [3]{b} x\right )}{\left (\left (1+\sqrt{3}\right ) \sqrt [3]{a}+\sqrt [3]{b} x\right )^2}} \sqrt{a+b x^3}}\\ \end{align*}

Mathematica [C]  time = 0.317007, size = 185, normalized size = 0.3 \[ \frac{4 \sqrt{\frac{b x^3}{a}+1} \left (\sqrt{a+b x^3} \left (11 a f+9 a g x+33 b c+11 b f x^3+9 b g x^4\right )-33 \sqrt{a} b c \tanh ^{-1}\left (\frac{\sqrt{a+b x^3}}{\sqrt{a}}\right )\right )+18 x \sqrt{a+b x^3} (11 b d-2 a g) \, _2F_1\left (-\frac{1}{2},\frac{1}{3};\frac{4}{3};-\frac{b x^3}{a}\right )+99 b e x^2 \sqrt{a+b x^3} \, _2F_1\left (-\frac{1}{2},\frac{2}{3};\frac{5}{3};-\frac{b x^3}{a}\right )}{198 b \sqrt{\frac{b x^3}{a}+1}} \]

Antiderivative was successfully verified.

[In]

Integrate[(Sqrt[a + b*x^3]*(c + d*x + e*x^2 + f*x^3 + g*x^4))/x,x]

[Out]

(4*Sqrt[1 + (b*x^3)/a]*(Sqrt[a + b*x^3]*(33*b*c + 11*a*f + 9*a*g*x + 11*b*f*x^3 + 9*b*g*x^4) - 33*Sqrt[a]*b*c*
ArcTanh[Sqrt[a + b*x^3]/Sqrt[a]]) + 18*(11*b*d - 2*a*g)*x*Sqrt[a + b*x^3]*Hypergeometric2F1[-1/2, 1/3, 4/3, -(
(b*x^3)/a)] + 99*b*e*x^2*Sqrt[a + b*x^3]*Hypergeometric2F1[-1/2, 2/3, 5/3, -((b*x^3)/a)])/(198*b*Sqrt[1 + (b*x
^3)/a])

________________________________________________________________________________________

Maple [B]  time = 0.008, size = 1118, normalized size = 1.8 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((g*x^4+f*x^3+e*x^2+d*x+c)*(b*x^3+a)^(1/2)/x,x)

[Out]

g*(2/11*x^4*(b*x^3+a)^(1/2)+6/55/b*a*x*(b*x^3+a)^(1/2)+4/55*I/b^2*a^2*3^(1/2)*(-b^2*a)^(1/3)*(I*(x+1/2/b*(-b^2
*a)^(1/3)-1/2*I*3^(1/2)/b*(-b^2*a)^(1/3))*3^(1/2)*b/(-b^2*a)^(1/3))^(1/2)*((x-1/b*(-b^2*a)^(1/3))/(-3/2/b*(-b^
2*a)^(1/3)+1/2*I*3^(1/2)/b*(-b^2*a)^(1/3)))^(1/2)*(-I*(x+1/2/b*(-b^2*a)^(1/3)+1/2*I*3^(1/2)/b*(-b^2*a)^(1/3))*
3^(1/2)*b/(-b^2*a)^(1/3))^(1/2)/(b*x^3+a)^(1/2)*EllipticF(1/3*3^(1/2)*(I*(x+1/2/b*(-b^2*a)^(1/3)-1/2*I*3^(1/2)
/b*(-b^2*a)^(1/3))*3^(1/2)*b/(-b^2*a)^(1/3))^(1/2),(I*3^(1/2)/b*(-b^2*a)^(1/3)/(-3/2/b*(-b^2*a)^(1/3)+1/2*I*3^
(1/2)/b*(-b^2*a)^(1/3)))^(1/2)))+2/9*f/b*(b*x^3+a)^(3/2)+e*(2/7*x^2*(b*x^3+a)^(1/2)-2/7*I*a*3^(1/2)/b*(-b^2*a)
^(1/3)*(I*(x+1/2/b*(-b^2*a)^(1/3)-1/2*I*3^(1/2)/b*(-b^2*a)^(1/3))*3^(1/2)*b/(-b^2*a)^(1/3))^(1/2)*((x-1/b*(-b^
2*a)^(1/3))/(-3/2/b*(-b^2*a)^(1/3)+1/2*I*3^(1/2)/b*(-b^2*a)^(1/3)))^(1/2)*(-I*(x+1/2/b*(-b^2*a)^(1/3)+1/2*I*3^
(1/2)/b*(-b^2*a)^(1/3))*3^(1/2)*b/(-b^2*a)^(1/3))^(1/2)/(b*x^3+a)^(1/2)*((-3/2/b*(-b^2*a)^(1/3)+1/2*I*3^(1/2)/
b*(-b^2*a)^(1/3))*EllipticE(1/3*3^(1/2)*(I*(x+1/2/b*(-b^2*a)^(1/3)-1/2*I*3^(1/2)/b*(-b^2*a)^(1/3))*3^(1/2)*b/(
-b^2*a)^(1/3))^(1/2),(I*3^(1/2)/b*(-b^2*a)^(1/3)/(-3/2/b*(-b^2*a)^(1/3)+1/2*I*3^(1/2)/b*(-b^2*a)^(1/3)))^(1/2)
)+1/b*(-b^2*a)^(1/3)*EllipticF(1/3*3^(1/2)*(I*(x+1/2/b*(-b^2*a)^(1/3)-1/2*I*3^(1/2)/b*(-b^2*a)^(1/3))*3^(1/2)*
b/(-b^2*a)^(1/3))^(1/2),(I*3^(1/2)/b*(-b^2*a)^(1/3)/(-3/2/b*(-b^2*a)^(1/3)+1/2*I*3^(1/2)/b*(-b^2*a)^(1/3)))^(1
/2))))+d*(2/5*x*(b*x^3+a)^(1/2)-2/5*I*a*3^(1/2)/b*(-b^2*a)^(1/3)*(I*(x+1/2/b*(-b^2*a)^(1/3)-1/2*I*3^(1/2)/b*(-
b^2*a)^(1/3))*3^(1/2)*b/(-b^2*a)^(1/3))^(1/2)*((x-1/b*(-b^2*a)^(1/3))/(-3/2/b*(-b^2*a)^(1/3)+1/2*I*3^(1/2)/b*(
-b^2*a)^(1/3)))^(1/2)*(-I*(x+1/2/b*(-b^2*a)^(1/3)+1/2*I*3^(1/2)/b*(-b^2*a)^(1/3))*3^(1/2)*b/(-b^2*a)^(1/3))^(1
/2)/(b*x^3+a)^(1/2)*EllipticF(1/3*3^(1/2)*(I*(x+1/2/b*(-b^2*a)^(1/3)-1/2*I*3^(1/2)/b*(-b^2*a)^(1/3))*3^(1/2)*b
/(-b^2*a)^(1/3))^(1/2),(I*3^(1/2)/b*(-b^2*a)^(1/3)/(-3/2/b*(-b^2*a)^(1/3)+1/2*I*3^(1/2)/b*(-b^2*a)^(1/3)))^(1/
2)))+c*(2/3*(b*x^3+a)^(1/2)-2/3*a^(1/2)*arctanh((b*x^3+a)^(1/2)/a^(1/2)))

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (g x^{4} + f x^{3} + e x^{2} + d x + c\right )} \sqrt{b x^{3} + a}}{x}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x^4+f*x^3+e*x^2+d*x+c)*(b*x^3+a)^(1/2)/x,x, algorithm="maxima")

[Out]

integrate((g*x^4 + f*x^3 + e*x^2 + d*x + c)*sqrt(b*x^3 + a)/x, x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (g x^{4} + f x^{3} + e x^{2} + d x + c\right )} \sqrt{b x^{3} + a}}{x}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x^4+f*x^3+e*x^2+d*x+c)*(b*x^3+a)^(1/2)/x,x, algorithm="fricas")

[Out]

integral((g*x^4 + f*x^3 + e*x^2 + d*x + c)*sqrt(b*x^3 + a)/x, x)

________________________________________________________________________________________

Sympy [A]  time = 9.2548, size = 235, normalized size = 0.38 \begin{align*} - \frac{2 \sqrt{a} c \operatorname{asinh}{\left (\frac{\sqrt{a}}{\sqrt{b} x^{\frac{3}{2}}} \right )}}{3} + \frac{\sqrt{a} d x \Gamma \left (\frac{1}{3}\right ){{}_{2}F_{1}\left (\begin{matrix} - \frac{1}{2}, \frac{1}{3} \\ \frac{4}{3} \end{matrix}\middle |{\frac{b x^{3} e^{i \pi }}{a}} \right )}}{3 \Gamma \left (\frac{4}{3}\right )} + \frac{\sqrt{a} e x^{2} \Gamma \left (\frac{2}{3}\right ){{}_{2}F_{1}\left (\begin{matrix} - \frac{1}{2}, \frac{2}{3} \\ \frac{5}{3} \end{matrix}\middle |{\frac{b x^{3} e^{i \pi }}{a}} \right )}}{3 \Gamma \left (\frac{5}{3}\right )} + \frac{\sqrt{a} g x^{4} \Gamma \left (\frac{4}{3}\right ){{}_{2}F_{1}\left (\begin{matrix} - \frac{1}{2}, \frac{4}{3} \\ \frac{7}{3} \end{matrix}\middle |{\frac{b x^{3} e^{i \pi }}{a}} \right )}}{3 \Gamma \left (\frac{7}{3}\right )} + \frac{2 a c}{3 \sqrt{b} x^{\frac{3}{2}} \sqrt{\frac{a}{b x^{3}} + 1}} + \frac{2 \sqrt{b} c x^{\frac{3}{2}}}{3 \sqrt{\frac{a}{b x^{3}} + 1}} + f \left (\begin{cases} \frac{\sqrt{a} x^{3}}{3} & \text{for}\: b = 0 \\\frac{2 \left (a + b x^{3}\right )^{\frac{3}{2}}}{9 b} & \text{otherwise} \end{cases}\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x**4+f*x**3+e*x**2+d*x+c)*(b*x**3+a)**(1/2)/x,x)

[Out]

-2*sqrt(a)*c*asinh(sqrt(a)/(sqrt(b)*x**(3/2)))/3 + sqrt(a)*d*x*gamma(1/3)*hyper((-1/2, 1/3), (4/3,), b*x**3*ex
p_polar(I*pi)/a)/(3*gamma(4/3)) + sqrt(a)*e*x**2*gamma(2/3)*hyper((-1/2, 2/3), (5/3,), b*x**3*exp_polar(I*pi)/
a)/(3*gamma(5/3)) + sqrt(a)*g*x**4*gamma(4/3)*hyper((-1/2, 4/3), (7/3,), b*x**3*exp_polar(I*pi)/a)/(3*gamma(7/
3)) + 2*a*c/(3*sqrt(b)*x**(3/2)*sqrt(a/(b*x**3) + 1)) + 2*sqrt(b)*c*x**(3/2)/(3*sqrt(a/(b*x**3) + 1)) + f*Piec
ewise((sqrt(a)*x**3/3, Eq(b, 0)), (2*(a + b*x**3)**(3/2)/(9*b), True))

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (g x^{4} + f x^{3} + e x^{2} + d x + c\right )} \sqrt{b x^{3} + a}}{x}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((g*x^4+f*x^3+e*x^2+d*x+c)*(b*x^3+a)^(1/2)/x,x, algorithm="giac")

[Out]

integrate((g*x^4 + f*x^3 + e*x^2 + d*x + c)*sqrt(b*x^3 + a)/x, x)